package com.hxd.mall.injector.modules

import com.hxd.mall.injector.scope.ActivityScope
import com.hxd.mall.module.usercenter.invitataion.IInvitationPresenter
import com.hxd.mall.module.usercenter.invitataion.IInvivationView
import com.hxd.mall.module.usercenter.invitataion.InvivationPresenter
import com.hxd.mall.module.usercenter.invitataion.InvivationActivity
import dagger.Binds
import dagger.Module

/**
 * @author zhaoyong
 * @description:
 * @date :2019-10-15 15:29
 */
@Module
abstract class InvivationModule {
    @Binds
    internal abstract fun bindView(activity: InvivationActivity): IInvivationView

    @ActivityScope
    @Binds
    abstract fun invivationPresenter(presenter: InvivationPresenter): IInvitationPresenter
}